package com.df.twod_sync_bakend.game;

import org.springframework.web.socket.WebSocketSession;

public interface IScript<T> {
    String getType();

    T unserialize(String msgStr);

    void handle(WebSocketSession session,T t,GameRoom room);
}
